package com.ant.storage.service;

import com.ant.storage.common.ResultVo;
import com.ant.storage.dto.InvoiceInfoDto;
import com.ant.storage.dto.ReimburseInfoDto;
import com.ant.storage.dto.ReimburseInfosDto;
import com.ant.storage.pojo.AuditList;
import com.ant.storage.pojo.InvoiceInfo;
import com.ant.storage.pojo.ReimburseInfo;
import com.ant.storage.pojo.ReimburseInfoLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.taobao.api.ApiException;
import org.w3c.dom.stylesheets.LinkStyle;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author melon
 * @since 2023-11-24
 */
public interface IInvoiceInfoService extends IService<InvoiceInfo> {

    PageInfo<InvoiceInfo> getInvoiceInfoPage(InvoiceInfoDto dto);

    ResultVo InvoiceInfoSave(InvoiceInfo dto);

    InvoiceInfo InvoiceInfoById(Integer id);

    AuditList selectIsAudit(String processInstanceId, String user_id);

    void getprocessInstanceIdById(String processInstanceId, String opinion);

    AuditList selectIsAudits(String processInstanceId, String user_id);

    void getprocessInstanceIdByIds(String processInstanceId, String opinion);

    ResultVo RsendDingTalk(Integer id) throws Exception;

    ResultVo RsendDingTalks(Integer id,Integer uid) throws Exception;

    List<AuditList> getHistoryDingTalk(Integer tid);

    ResultVo syncDingTalks(Integer id);
}
